#!/usr/bin/php
Creating Database.
<?php 

// create new database using the OOP approach

include('../includes/db.php');

// create table 'USERS' and insert sample data

$db->query("BEGIN;

        CREATE TABLE videos (id INTEGER PRIMARY KEY,
name CHAR(255), filename CHAR(255), thumbnail CHAR(255), mimetype CHAR(255), description text, created DATE, processed BOOLEAN NOT NULL DEFAULT 0);

        COMMIT;");

?>
Created Database.

